package com.situ.gym.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.situ.gym.pojo.Course;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.situ.gym.pojo.query.CourseQuery;
import com.situ.gym.pojo.vo.ChartCountVO;
import com.situ.gym.pojo.vo.CourseVO;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2025-08-22
 */
public interface CourseMapper extends BaseMapper<Course> {
    IPage<CourseVO> list(IPage<CourseVO> page, CourseQuery courseQuery);

    void deleteAll(Integer[] ids);

    List<ChartCountVO> selectHotCourse();
}
